package day2;

import java.util.Date;

public class People {
private int id;
private String name;
private Computer com;
private Date birth;
public People() {
	
}

public People(int id, String name, Computer com, Date birth) {
	super();
	this.id = id;
	this.name = name;
	this.com = com;
	this.birth = birth;
}

public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public Computer getCom() {
	return com;
}
public void setCom(Computer com) {
	this.com = com;
}
public Date getBirth() {
	return birth;
}
public void setBirth(Date birth) {
	this.birth = birth;
}
@Override
public String toString() {
	return "People [id=" + id + ", name=" + name + ", com=" + com + ", birth=" + birth + "]";
}

}
